<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>{$config.webname}</title>
    <link rel="stylesheet" type="text/css" href="/Public/home/index/css/one.css" />
</head>
<body>
{include file='header'}
{# 这里是注释内容! #}
{$content}<br/>
{if $var}
    var是真<br/>
{else}
    var是假<br/>
{/if}
{W 'window',['miaohaha'=>'yiwa','content' => '喵哈哈']}
{foreach key=k1 item=i1 from=$colors}
    {@i1}-{@k1}<br/>
{/foreach}
{include file='footer'}

<div id="footer">
    <?php echo $_SERVER['PHP_SELF'];?>
    <p>Powered by {$config.author}.</p>
    <form action="/index/index" method="get">
        <input type="text" name="var1">
        <input type="submit">
        <br>
        <span>打印:</span>
        {isset $var1}var1的值是:{$var1}
        {else}var1没有值
        {/isset}
    </form>
</div>

</body>
</html>
